<template>
	<view>
		<view class="mainView">
			<view v-for="(items,indexs) in iconList" :key="indexs" class="iconInline">
				<view v-for="(item,index) in items" :key="index" class="myIcon">
					<myIcon size="200rpx" borderRadius="50rpx" fontSize="30rpx" shadow="15rpx" bkColor="#f5f5f5" hoverColor="#e1e1e1" :label="item.label" :src="item.src" :url="item.url"></myIcon>
				</view>
			</view>
			<view class="end">更多功能，敬请期待</view>
		</view>
		<view class="safeView"></view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				iconList:[
					[ //第一行
						{
							label:'积分抽奖',
							src:this.myConfig.storageUrl+'/static/game.png',
							url:'/pages/game/game'
						},
						{
							label:'听个笑话',
							src:this.myConfig.storageUrl+'/static/joke.png',
							url:'/pages/joke/joke'
						},
						{
							label:'反馈中心',
							src:this.myConfig.storageUrl+'/static/feedback.png',
							url:'/pages/feedback/feedback'
						}
					]
				]
			}
		}
	}
</script>

<style scoped>
	.mainView{
		margin: 25rpx;
		animation: load 1s linear,upMove 1s ease;
	}
	.iconInline{
		margin-top: 20rpx;
		display: flex;
		align-items: center;
		justify-content:space-around;
	}
</style>